package com.ruoyi.common.entity.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class CouponVO {
    private Long id;
    private Long couponId;
    private Long shopId;
    private String title;
    private Long[] productIdArr;
    private Integer couponType;
    private Integer moduleType;
    private Integer reachAmount;
    private Integer overAmount;
    private Integer faceValue;
    private BigDecimal discount;
    private BigDecimal discountValue;
    private Integer totalIssuance;
    private Integer totalGet;
    private Integer totalMemberGet;
    private Integer totalUse;
    private Integer stock;
    //领取开始时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date getStartTime;
    //领取结束时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date getEndTime;
    //使用开始时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date useStartTime;
    //使用结束时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date useEndTime;
    private boolean selected;
    private Integer isAbleShareGet;
    private Integer isAbleActivity;
    private String remark;
    //实际优惠金额
    private BigDecimal reduceAmount;
    //领取时间
    private Date getTime;
    private Integer couponStatus;
    //是否可用
    private Integer isEnable;
    private Integer isDelete;
    //描述
    private String reason;
    private BigDecimal discountPrice;
    private Integer receiveNum;
    private Integer remindNum;

    private Date createTime;
    private Date updateTime;
    private String createBy;
    private String updateBy;
    private String linkProduct;
}
